<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 
class Site_Controller extends MX_Controller {

    function __construct() {
        parent::__construct();
		$this->load->model(array('content/mod_content', 'content/mod_activity', 'slideshow/mod_slideshow'));
		
   		$data['slideshow'] = $this->mod_slideshow->getAllSlideshow();
		$data['lastest_news'] = $this->mod_activity->getLastestNews(5);
		$this->load->view('variable', $data);
    }
}
